type github.com/google/go-cmp/cmp.textNode
33 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L98: func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) {
report_compare.go#L204: func (opts formatOptions) formatDiffList(recs []reportRecord, k reflect.Kind, ptrs *pointerReferences) textNode {
report_references.go#L82: func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode {
report_references.go#L94: func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode {
report_references.go#L101: func makeLeafReference(p value.Pointer, printAddress bool) textNode {
report_references.go#L114: func resolveReferences(s textNode) {
report_references.go#L115: var walkNodes func(textNode, func(textNode))
report_references.go#L116: walkNodes = func(s textNode, f func(textNode)) {
report_references.go#L130: walkNodes(s, func(s textNode) {
report_reflect.go#L51: func (opts formatOptions) FormatType(t reflect.Type, s textNode) textNode {
report_reflect.go#L86: func wrapParens(s textNode) textNode {
report_reflect.go#L114: func (opts formatOptions) FormatValue(v reflect.Value, parentKind reflect.Kind, ptrs *pointerReferences) (out textNode) {
report_reflect.go#L314: func (opts formatOptions) formatString(prefix, s string) textNode {
report_slices.go#L90: func (opts formatOptions) FormatDiffSlice(v *valueNode) textNode {
report_slices.go#L235: var out textNode = &textWrap{Prefix: "(", Value: list2, Suffix: ")"}
report_slices.go#L321: var out textNode = &textWrap{Prefix: "{", Value: list, Suffix: "}"}
report_text.go#L65: type textNode interface {
report_text.go#L71: Equal(textNode) bool
report_text.go#L87: formatCompactTo([]byte, diffMode) ([]byte, textNode)
report_text.go#L98: Value textNode // textWrap | textList | textLine
report_text.go#L106: func (s1 *textWrap) Equal(s2 textNode) bool {
report_text.go#L121: func (s *textWrap) formatCompactTo(b []byte, d diffMode) ([]byte, textNode) {
report_text.go#L145: Value textNode // textWrap | textLine
report_text.go#L182: func (s1 textList) Equal(s2 textNode) bool {
report_text.go#L202: func (s textList) formatCompactTo(b []byte, d diffMode) ([]byte, textNode) {
report_text.go#L349: func (s1 textLine) Equal(s2 textNode) bool {
report_text.go#L358: func (s textLine) formatCompactTo(b []byte, d diffMode) ([]byte, textNode) {